package cn.dy.sbo.core;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import cn.common.lib.springside.orm.BaseDao;
import cn.common.lib.springside.service.EntityManager;
import cn.dy.sbo.api.MaterialsDao;
import cn.dy.sbo.model.Materials;

@Component
@Transactional
public class MaterialsManager extends EntityManager<Materials, Long>{

	@Autowired
    private MaterialsDao materialsDao;
	@Override
	protected BaseDao<Materials, Long> getEntityDao() {
		return materialsDao;
	}

}
